
import { IsNotEmpty, IsOptional, IsString } from "class-validator";

export default class RegisterDto {
   
    @IsNotEmpty()
    @IsString()
    phone:string;

    @IsNotEmpty()
    @IsString()
    code:string;

    @IsString()
    @IsOptional()
    name:string;


}